﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DiskInspector.Model.MetaDataAttributes;

namespace DiskInspector.Model.FileRecordStructure
{
    public class StandardInformationAttributeContent : AttributeContent
    {
        [FieldLength(ByteLength = 8)]
        public long FileCreationTime { get; set; }

        [FieldLength(ByteLength = 8)]
        public long FileAlteredTime { get; set; }

        [FieldLength(ByteLength = 8)]
        public long MFTChangedTime { get; set; }

        [FieldLength(ByteLength = 8)]
        public long FileReadTime { get; set; }

        [FieldLength(ByteLength = 4)]
        public int FilePermissions { get; set; }

        [FieldLength(ByteLength = 4)]
        public int MaximumVersionNumber { get; set; }

        [FieldLength(ByteLength = 4)]
        public int VersionNumber  { get; set; }

        [FieldLength(ByteLength = 4)]
        public int ClassID { get; set; }

        [FieldLength(ByteLength = 4)]
        public int OwnerID { get; set; }

        [FieldLength(ByteLength = 4)]
        public int SecurityID { get; set; }

        [FieldLength(ByteLength = 8)]
        public long QuotaCharged { get; set; }

        [FieldLength(ByteLength = 8)]
        public long UpdateSequenceNumber { get; set; }
    }
}
